/**
 * 
 */
package com.quiz.model;

import java.io.Serializable;


/**
 * Player class that hold all info about the player of the game
 * @author Brian Boyle
 * Apr 9, 2012
 */
public class Player implements Serializable {

    private static final long serialVersionUID = 1L;
    private int highScore;
    private int lives;
    private String currentRank;
    private String status;

    public static final String TABLE_NAME = "PLAYER";
    public static final String COLUMN_HIGHSCORE = "HIGHSCORE";
    public static final String COLUMN_LIVES = "LIVES";
    public static final String COLUMN_CURRENT_RANK = "CURRENT_RANK";
    public static final String COLUMN_STATUS = "STATUS";

    public static final String STATUS_ALIVE = "ALIVE";
    public static final String STATUS_DEAD = "DEAD";

    /**
     * @param highScore
     * @param lives
     * @param currentRank
     */
    public Player(int highScore, int lives, String currentRank, String status) {
        this.highScore = highScore;
        this.lives = lives;
        this.currentRank = currentRank;
        this.status = status;
    }

    /**
     * 
     */
    public Player() {
        // TODO Auto-generated constructor stub
    }

    /**
     * @return the topScore
     */
    public int getHighScore() {
        return highScore;
    }

    /**
     * @param topScore the topScore to set
     */
    public void setHighScore(int topScore) {
        this.highScore = topScore;
    }

    /**
     * @return the lives
     */
    public int getLives() {
        return lives;
    }

    /**
     * @param lives the lives to set
     */
    public void setLives(int lives) {
        this.lives = lives;
    }

    /**
     * @return the currentRank
     */
    public String getCurrentRank() {
        return currentRank;
    }

    /**
     * @param currentRank the currentRank to set
     */
    public void setCurrentRank(String currentRank) {
        this.currentRank = currentRank;
    }


    /**
     * @return the status
     */
    public String getStatus() {
        return status;
    }


    /**
     * @param status the status to set
     */
    public void setStatus(String status) {
        this.status = status;
    }


}
